<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="head1_top">
	<p>
		<span class="fl">
			您好!欢迎浏览<a href="<c:url value='/home.do'/>" target="_blank">育儿</a>.
			<c:if test="${isLogin == true}">
				<ms:user type="nickname" link="true" userid="${userid}" nickname="${nickname}"></ms:user>
				|
				<a class="lc00" href="<c:url value='/h/logout.do'/>">退出</a>
			</c:if>
			<c:if test="${isLogin == false}">
				<a class="lc00" href="<c:url value="/h/gr.do"/>">注册</a>
				|
				<a class="lc00" id="a_go_login" href="<c:url value='/h/go.do'/>">登陆</a>
			</c:if>
		</span>
		<span class="fr">
			<a class="lc00" href="javascript:void(0)" onclick="javascript:addFavorite('http://www.isansui.com','千山千水');">加入收藏</a>
			|
			<a class="lc00" href="javascript:void(0)" onclick="javascript:setHomePage(this);">设为首页</a>
		</span>
	</p>
</div>
<script>
$(document).ready(function (){
	$("#a_go_login").colorbox({width:"500px", height:"300px",close:"关闭",scrolling:false});
});
</script>